Success!! Well at least some success.
I loaded VS2008. (how can 1 CD take 4.5 hours to load. LOL)
I also upgraded to KMotion430j and copied over the data folder and that went well.
Now when I run the Jogger project the form pops up just fine with no errors. Yea!!
I know it's working because I used it to browse to my init file location and used the project to compile and run it and it does init the kflop.
However, I'm using axes 4,5,6, and 7 on the RJ45 of the kanalog. When I click on any of the project jog buttons nothing happens. I'm guessing that somewhere there's an association of xyza to axis 0,1,2,3,4,5,6,7. I just can't seem to find it. Or maybe it's something else. Any ideas? thanks!!!!
--- In DynoMotion@yahoogroups.com, Tom Kerekes wrote:
>
> Hi,
> Please load your VS2008. What Version of KMotion are you using? Try Version KMotion430j. The VB example should run out of the box.
> Regards
> TK
>
>
> ________________________________
> From: bluetoad559
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, January 23, 2013 8:08 AM
> Subject: [DynoMotion] VB apps and KmotionCNC
>
> Â
> Hi, I'm looking to explore how VB apps and KmotionCNC talk to each other. I'm not sure why. LOL In my mind I see some possible benefits of perhaps, if it's possible, displaying the spindle current/temperature or inputting user entered data, who knows.
>
> I saw this reply from November and got excited: "You could write a simple Windows .exe application in VB or C# to display a dialog, get the values, then set them in KFLOP UserData variables, then launch a C program and exit. This .exe could be Launched from a KMotionCNC User Button. (from here: http://tech.groups.yahoo.com/group/DynoMotion/message/6105 )
>
> (I have VB6 installed; also have VS2008 but have never loaded it, it's still new in the unsealed package. LOL)
>
> I found the jogger folder and loaded the example and went through it. (It's been years since my brief encounter with VB so I'm very rusty.) I saw the form and module but it complains about not finding KMViaVB when I try to run it. I seem to remember I have to either set paths or register controls/dlls or something; and I found 2 versions of the dll file in the installation directory, regular vanilla and debug. Is there any writeup, detailed examples or 5-minute youtube videos (I can dream can't I, LOL) showing any of this? Thanks
>